<template>
   <div class="warrantyEmail bgc_white " :style="'min-height: '+ height">
      <p class="title">{{$t('WARRANTY.ALMOSTDONE')}}</p> 
      <p>{{$t('WARRANTY.CONFIRMEMAIL')}}</p>  
      <p class="margin8">{{$t('WARRANTY.ISRECEIVED')}} </p>
      <p>{{$t('WARRANTY.EMAILRAMPOW')}} <span @click="sendEmail">support@bonoch.com</span>.</p> 
      <!-- <el-button type="search"><a href="/">Back to homepage</a></el-button> -->

    </div>

</template>

<script>
import { setHeight} from "@/utils/index.js"

export default {
   data () {
      return {
         height: ''
      }
   },
   methods: {
      sendEmail () {
         let url = 'mailto:support@bonoch.com?subject=&body='
         console.log(url)
         window.open(url)
      },
   },
   mounted (){
      this.height = setHeight()
   },
}
</script>

<style lang="scss">
@import '@/styles/register/warrantyEmail.scss';
</style>